//
//  CommonTools.swift
//  Swift_Weibo_HLW
//
//  Created by huanglinwang on 16/9/22.
//  Copyright © 2016年 Linwang. All rights reserved.
//

import UIKit
//切换根控制的通知名称
let SwitchRootVCNotification =  "SwitchRootVCNotification"

// 创建随机颜色的函数
func RandomColor() -> UIColor{
    
    let red =  arc4random() % 256
    let green =  arc4random() % 256
    let blue =  arc4random() % 256
    
    
    return UIColor(red: CGFloat(red) / 255, green: CGFloat(green) / 255, blue:CGFloat(blue) / 255, alpha: 1)
    
    
}


//屏幕的宽度
let ScreenWidth = UIScreen.main.bounds.size.width
let ScreenHeigt = UIScreen.main.bounds.size.height
